﻿<UserControl x:Class="Albatross.SampleClient.Views.Composite1View"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:commonViews="clr-namespace:Albatross.WPF.Common.Views;assembly=Albatross.WPF.Common"
			 xmlns:local="clr-namespace:Albatross.SampleClient.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" x:Name="View">

	<UserControl.Resources>
		<ResourceDictionary Source="Common.xaml" />
	</UserControl.Resources>
	<DockPanel>
		<TextBlock Style="{StaticResource header}" Text="{Binding Title}" DockPanel.Dock="Top"/>
		<CheckBox IsChecked="{Binding CanClose}" DockPanel.Dock="Top">Can Close</CheckBox>
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition/>
				<ColumnDefinition/>
			</Grid.ColumnDefinitions>
			<Border Margin="2" BorderBrush="Silver" BorderThickness="1">
				<ContentControl commonViews:Attached.CompositeRegion="Region2" />
			</Border>
			<Border Margin="2" BorderBrush="Silver" BorderThickness="1" Grid.Column="1">
				<ContentControl commonViews:Attached.CompositeRegion="Region3" />
			</Border>
		</Grid>
	</DockPanel>
</UserControl>
